package com.bank6677.sync.csm.domain.old;

import java.util.Date;
/**
 * <p>用来保存补充说明的</p>
 * @author guobin
 * 
 */
public class LoanFeedBack {
	public static final String LOAN_FEED_BACK_TYPE1 = "1";// 资料管理的修改资料中的补充说明
	public static final String LOAN_FEED_BACK_TYPE2 = "2";// 资料管理的催交中的补充说明
	public static final String LOAN_FEED_BACK_TYPE3 = "3";// 贷审退回的处理回退中的补充说明
	public static final String LOAN_FEED_BACK_TYPE4 = "4";// 历史记录的详细中的补充说明
	public static final String LOAN_FEED_BACK_TYPE = "5";// 客户确认中的机构选择
	public static final String LOAN_FEED_BACK_TYPE6 = "6";// 口贷通道中的修改资料
	public static final String LOAN_FEED_BACK_TYPE7 = "7";// 口贷通道中的新申请贷款单子
	public static final String LOAN_FEED_BACK_TYPE8 = "8";// 跟单经理中单子详细中的补充说明
	private Long feedBackId;
	private Long applyId;// 单号
	private String remark;// 反馈内容
	private String type;// 反馈类型
	private Date createDt;// 创建时间
	private Integer adminId;// 操作人工号
	private String status;// 当前单子状态

	public Long getFeedBackId() {
		return feedBackId;
	}

	public void setFeedBackId(Long feedBackId) {
		this.feedBackId = feedBackId;
	}

	public Long getApplyId() {
		return applyId;
	}

	public void setApplyId(Long applyId) {
		this.applyId = applyId;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public Date getCreateDt() {
		return createDt;
	}

	public void setCreateDt(Date createDt) {
		this.createDt = createDt;
	}


	public Integer getAdminId() {
		return adminId;
	}

	public void setAdminId(Integer adminId) {
		this.adminId = adminId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((adminId == null) ? 0 : adminId.hashCode());
		result = prime * result + ((applyId == null) ? 0 : applyId.hashCode());
		result = prime * result
				+ ((createDt == null) ? 0 : createDt.hashCode());
		result = prime * result
				+ ((feedBackId == null) ? 0 : feedBackId.hashCode());
		result = prime * result + ((remark == null) ? 0 : remark.hashCode());
		result = prime * result + ((status == null) ? 0 : status.hashCode());
		result = prime * result + ((type == null) ? 0 : type.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		LoanFeedBack other = (LoanFeedBack) obj;
		if (adminId == null) {
			if (other.adminId != null)
				return false;
		} else if (!adminId.equals(other.adminId))
			return false;
		if (applyId == null) {
			if (other.applyId != null)
				return false;
		} else if (!applyId.equals(other.applyId))
			return false;
		if (createDt == null) {
			if (other.createDt != null)
				return false;
		} else if (!createDt.equals(other.createDt))
			return false;
		if (feedBackId == null) {
			if (other.feedBackId != null)
				return false;
		} else if (!feedBackId.equals(other.feedBackId))
			return false;
		if (remark == null) {
			if (other.remark != null)
				return false;
		} else if (!remark.equals(other.remark))
			return false;
		if (status == null) {
			if (other.status != null)
				return false;
		} else if (!status.equals(other.status))
			return false;
		if (type == null) {
			if (other.type != null)
				return false;
		} else if (!type.equals(other.type))
			return false;
		return true;
	}



}
